package org.totoro.patterns.behavior.command.demo;

/**
 * 录音机
 */
public class AudioPlayer {

    public void exec(PlayCommand pay) {
        System.out.println("播放...");
    }

    public void exec(RewindCommand pay) {
        System.out.println("倒带...");
    }

    public void exec(StopCommand pay) {
        System.out.println("停止...");
    }
}